<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<form id="pagerForm" method="post" action="demo_page5.html">
	<input type="hidden" name="status" value="${param.status}">
	<input type="hidden" name="keywords" value="${param.keywords}" />
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="numPerPage" value="${model.numPerPage}" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
</form>

<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="lessonAction!search.action" method="post">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					查询：
				</td>
				<td>
					<select class="combox" name="method">
						<option value="name">按课程名称</option>
						<option value="id">按课程编号</option>
						<option value="year">按学年</option>
					
					</select>
				</td>
				<td>要查询的值：<input type="text" name="keyword"/></td>
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
<!-- 				<li><a class="button" href="demo_page6.html" target="dialog" mask="true" title="鏌ヨ妗�"><span>楂樼骇妫�绱�</span></a></li> -->
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="add_3.html" target="dialog"><span>添加</span></a></li>
			<li><a class="delete" href="lessonAction!delete.action?fClassNumber={sid_user}" target="ajaxTodo" title="确定删除么?"><span>删除</span></a></li>
			<li><a class="edit" href="lessonAction!update.action?fClassNumber={sid_user}" target="dialog"><span>修改</span></a></li>
			<li class="line">line</li>
			<li><a class="icon" href="exportAction?name=lesson" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="140">
		<thead>
			<tr>
				<th width="100" align="center">课程名称</th>
				<th width="100" align="center">课程编号</th>
				<th width="80" align="center">理论周学时</th>
				<th width="80" align="center">实验周学时</th>
				<th width="100" align="center">教学起始周</th>
				<th width="100" align="center">教学结束周</th>
				<th width="100" align="center">学年</th>
				<th width="100" align="center">学期</th>
				<th width="100" align="center">备注</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach var="e" items="${ lessons }">
			<tr target="sid_user" rel="${e.fClassNumber }">
				<td style="text-align: left;">${e.fClassName }</td>
				<td>${e.fClassNumber }</td>
				<td>${e.fTheoryTime }</td>
				<td>${e.fTestTime }</td>
				<td>${e.fStartWeek }</td>
				<td>${e.fEndWeek }</td>
				<td>${e.fSchoolYear }</td>	
				<td>${e.fSchoolTerm }</td>	
				<td>${e.fRemark }</td>					
			</tr>
			</c:forEach>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<span>共${totalCount}条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="200" numPerPage="20" pageNumShown="10" currentPage="1"></div>

	</div>
</div>

</body>
</html>